package day03.note;

import java.util.Random;
import java.util.Scanner;

public class txt1 {
    public static void main(String[] args) {

        Random r=new Random();
        int num= r.nextInt();
        System.out.println(num);

        int answer=new Scanner(System.in).nextInt();

        System.out.println(answer ==num ?  "猜对了":(answer>num?"猜大了":"猜小了"));

    }
}
